<include file="../header" />
<body class="J_scroll_fixed">
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script charset="utf-8" src="http://map.qq.com/api/js?v=2.exp&key=FO5BZ-2AC2G-ACAQV-I5BD3-YX65K-76BUB"></script>
    <script src="http://open.map.qq.com/apifiles/v1.0/app.js?v=1.0.131203.1" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
        });
    </script>
    <div class="wrap jj">
        <div class="common-form">
            <form  id='add' method="post" class="form-horizontal J_ajaxForm" action="{:U('service/edit_post')}">
                <input type="hidden" name="id" value="{$service.service_id}" />
                <fieldset>
                    <div class="control-group">
                        <label class="control-label">维修人员姓名:</label>
                        <div class="controls">
                            <input type="text" class="input" name="serviceName" value="{$service.service_name}">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">所在地区:</label>
                        <div class="controls">
                            {:getAllRegionList($service['region_id'], 0)}
                        </div>
                    </div>
                </fieldset>

                <div class="form-actions">
                    <button id='send' type="submit" class="btn btn-primary">更新</button>
                    <a class="btn" href="__URL__">返回</a>
                </div>
            </form>
        </div>
    </div>
    <script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>